@import './reset';
@import'./header';
@import'./footer';
header {
    background: #ffc900;
}

main {
    width: 100%;
    background-color: white;
    overflow: hidden;
    .detail {
        width: 1200px;
        height: 100px;
        margin: 100px auto;
        margin-bottom: 30px;
        border: 1px solid #478dcd;
        border-radius: 5px;
        display: flex;
        justify-content: space-between;
        .info {
            width: 400px;
            height: 100%;
            display: flex;
            justify-content: space-between;
            margin-left: 15px;
            margin-top: 5px;
            .icon {
                width: 90px;
                height: 90px;
                background: url(/images/mdn.jpg)no-repeat center center;
                background-size: 100% 100%;
            }
            .msg {
                width: 300px;
                height: 85px;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                .shop-name {
                    font-size: 20px;
                }
                .star {
                    font-size: 18px;
                }
                .phone {
                    color: #b6b2b2;
                }
            }
        }
        .time {
            width: 400px;
            height: 100%;
            margin-right: 15px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            text-align: center;
            .send {
                border-right: 1px solid #478dcd;
                padding-right: 20px;
            }
            .dist {
                border-right: 1px solid #478dcd;
                padding-right: 20px;
            }
            .by {
                color: red;
                font-size: 20px;
            }
        }
    }
    .product {
        width: 1200px;
        height: 50px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid red;
        .ul1 {
            width: 20%;
            display: flex;
            justify-content: space-around;
        }
        & li:hover {
            color: #478dcd;
            border-bottom: 2px solid #478dcd;
        }
        & li:nth-child(1) {
            color: #478dcd;
            border-bottom: 2px solid #478dcd;
        }
        .ul2 {
            width: 15%;
            display: flex;
            justify-content: space-around;
        }
    }
    .category {
        width: 1200px;
        height: 50px;
        background-color: white;
        border-radius: 5px;
        margin: 20px auto;
        display: flex;
        align-items: center;
        cursor: pointer;
        span {
            color: #478dcd;
            margin-left: 15px;
        }
        div {
            margin-left: 15px;
        }
        & :hover {
            color: #478dcd;
            border-bottom: 2px solid #478dcd;
        }
    }
    .hot-foot {
        width: 1200px;
        margin: 0 auto;
        h4 {
            margin: 10px;
        }
        ul {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            li {
                width: 280px;
                margin: 10px auto;
                background-color: #fff;
                border: 2px solid #eee;
                img {
                    width: 280px;
                    height: 210px;
                }
                .foot-name {
                    font-size: 16px;
                    margin: 10px;
                }
                .hot-msg {
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    .hot-price {
                        font-size: 18px;
                        color: red;
                    }
                    .danjia {
                        margin-bottom: 10px;
                        button {
                            width: 25px;
                            height: 25px;
                            border-radius: 50%;
                            color: #478dcd;
                        }
                        span {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
    }
}